package com.maycurobj.configuration;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
public class ConfInfo {
    @Value("${maycurprop.openapiurl}")
    private  String openApiUrl;
    @Value("${maycurprop.openapiappcode}")
    private  String openApiAppCode;
    @Value("${maycurprop.openapiappsecret}")
    private  String openApiAppSecret;

    //体外公司每刻
    @Value("${maycurpropside.openapiappcode}")
    private  String openApiAppCodeSide;
    @Value("${maycurpropside.openapiappsecret}")
    private  String openApiAppSecretSide;

    //钉钉部分
    @Value("${dingtalk.appkey}")
    private String dingAppKey;
    @Value("${dingtalk.appsecret}")
    private String dingAppSecret;

    //ehr部分
    @Value("${ehr.ehrurl}")
    private String ehrurl;
    @Value("${ehr.ehrtenantid}")
    private String ehrtenantid;
    @Value("${ehr.ehrgranttype}")
    private String ehrgranttype;
    @Value("${ehr.ehrappid}")
    private String ehrappid;
    @Value("${ehr.ehrsecret}")
    private String ehrsecret;
}
